<div class="layui-form layui-form-pane p-l-sm m-b-xl">
    <div class="layui-row">
        <div th:replace="common/plugin :: pa-form-input-detail('text','所属系统','layui-col-md4',${sysSystem.systemName})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','所属角色','layui-col-md4',${sysGroup.groupName})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','父资源','layui-col-md4',${nick})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','登录账户','layui-col-md4',${entity.loginName})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','账户昵称','layui-col-md4',${entity.userNick})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','手机号码','layui-col-md4',${entity.userPhone})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','用户邮箱','layui-col-md4',${entity.userEmail})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','权限类型','layui-col-md4',${entity.limitType})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','最后登录IP','layui-col-md4',${entity.lastIp})"></div>
    </div>
    <div class="hr-line-dashed m-r m-t"></div>
    <div class="layui-row">
        <div th:replace="common/plugin :: pa-form-input-detail('text','关联代理商','layui-col-md4',${entity.mappingId})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','关联商户','layui-col-md4',${entity.mappingUserId})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','关联合作商','layui-col-md4',${entity.mappingSpId})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','关联通道','layui-col-md4',${entity.mappingChannelId})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','关联代理','layui-col-md4',${entity.mappingAgentId})"></div>
    </div>
    <div class="hr-line-dashed m-r m-t"></div>
    <div class="layui-row">
        <div th:replace="common/plugin :: pa-form-input-detail('text','数据状态','layui-col-md4',${@lj.code('DataStatus',entity.dataStatus)})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','创建时间','layui-col-md4',${@lj.date(entity.createTime)})"></div>
        <div th:replace="common/plugin :: pa-form-input-detail('text','更新时间','layui-col-md4',${@lj.date(entity.modifyTime)})"></div>
    </div>
    <div class="hr-line-dashed m-r m-t"></div>
    <div class="layui-row">
        <div class="layui-inline layui-col-md12 p-tr-sm">
            <label class="layui-form-label" th:text="二维码链接地址" th:title="二维码链接地址"></label>
            <div class="layui-input-block">
                <input disabled readonly class="layui-input layui-bg-gray" autocomplete="off" type="text" th:value="${getQRBarcodeURL}">
                <div id="qrcode" style="text-align: left;" class="m-t m-l"></div>
            </div>
        </div>
    </div>
</div>
<script>
    layui.use(['okQrcode', 'form', "jquery"], function () {
        let form = layui.form;
        let $ = layui.jquery;
        form.render();
        $("#qrcode").qrcode({
            width: "120",
            height: "120",
            text: '[[${getQRBarcodeURL}]]',
            background: "#ffffff",
            foreground: "#000000",
        });
    });
</script>